package top.yangyitao.lockManager.lock;

import java.util.List;

/**
 * @author eetal
 */
public interface LockManager<K , V extends LockSubject> {
    public V create(K k);
    public List<V> search(K k);
    public boolean retire(V subject);
    public void retireAll();
}
